package cn.labbook.bluetooth.common;

import java.util.List;

/**
 * <p>
 * 树状结构接口
 * </p>
 *
 * @author Administrator
 * @since 2018-10-30
 */
public interface Tree<T> {

    T setParentId(String parentId);

    String getParentId();

    T setChildren(List<T> children);

    List<T> getChildren();

    String getTreeId();
}
